import com.sun.org.apache.bcel.internal.generic.NEW;

import java.lang.ref.SoftReference;

public class Strongyinyong {
    public static void main(String[] args) {
        SoftReference<strong> strongSoftReference=new SoftReference<strong>(new strong());
        strong s=strongSoftReference.get();
        System.out.println(s);
    }

}

class  strong{
    @Override
    protected void finalize() throws Throwable {
        System.out.println("sssss");
    }
}